Test Script
Test scripts are the computer readable instructions that automate the execution of a test procedure (or portion of a test procedure). Test scripts may be created (recorded ) or automatically generated using test automation tools, programmed using a programming language, or a combination of recording, generating, and programming.
UML representation: N/A
Worker: Test Designer
Reports: Reports: Test Survey
More information:

Input to Activities: Output from Activities:

Purpose To top of page

The purpose of the Test Scripts is to implement and execute the test procedures in an efficient and effective manner. The following people use the test scripts:

  • The Test Designer to create test scripts that execute test cases, achieve the appropriate test coverage, maximize reuse, and are resilient to application changes.
  • The Tester to execute the tests and capture the results.

Properties To top of page

Property Name

Brief Description

UML Representation

Instructions The machine readable instructions that, when executed, emulate the actions taken by the actor when executing the use case.

 

Verification Point The location in the instructions where an actual result will be compared with an expected result

 

Verification Method The machine readable instruction that executes the comparison between expected and actual results. Different verification methods exist to verify different attributes.

 

Timing To top of page

The initial Test Scripts are created during the test implementation activity as soon as there are some use cases or scenarios implemented. The Test Scripts are modified and / or added to throughout the remainder of the lifecycle during each iteration.

Responsibility To top of page

A Test Designer is responsible for the integrity of the Test Scripts, ensuring that:

  • The Test Scripts accurately reflect the test procedures to be implemented / executed (either in whole procedures or partial procedures) based upon the test model.
  • The Test Scripts reflect the execution of the use case consistent with the actor being emulated (using the same navigation, interface methods and options) or the methods to maximize the efficiency and resilience of the test scripts.
  • The Test Scripts, if automatically generated, accurately reflect the structure, and/or the functional area, and/or UI of the target-of-test (or specified portion) and provide the specified test coverage.

Tailoring To top of page

The Test Scripts maybe modified to include a programming concepts, such as variables, loops, and branching to increase the efficiency, effectiveness, and resilience of the scripts.

Copyright  ⌐ 1987 - 2000 Rational Software Corporation

Display Rational Unified Process using frames

Rational Unified Process